package top.zywork.wx.query;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author Animo
 * @Date 2020/11/30
 * @Blog http://www.ljyanimo.com
 */
@Data
public class GraphicOrderQuery {

    @NotNull(message = "分页页码不能为空")
    @Min(value = 0,message = "最小为0")
    private Integer pageNo;

    @NotNull(message = "分页大小不能为空")
    @Min(value = 10,message = "最小为10")
    private Integer pageSize;

}
